<?php

namespace App\Http\Controllers\Admins;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Cache;

class ConsoleController extends Controller
{	
	public function flushCache(){
		Cache::flush();
		flash('缓存清除成功');
		return redirect(route('index'));
	}
}
